﻿<%@ Page Title="Home Page" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="StudentSDataBase._Default" %>

<asp:Content ID="BodyContent" ContentPlaceHolderID="MainContent" runat="server">
    <asp:GridView ID="Gv_one" runat="server" OnRowCancelingEdit="Gv_one_RowCancelingEdit" OnRowEditing="Gv_one_RowEditing" OnRowDeleting="Gv_one_RowDeleting" OnRowUpdating="Gv_one_RowUpdating" OnPageIndexChanging="Gv_one_PageIndexChanging1" AutoGenerateColumns="false"  AllowPaging="true">
        
        <Columns>
            <asp:BoundField DataField="Id" HeaderText="Id" ReadOnly="true"/>
            <asp:BoundField DataField="TaskName" HeaderText="任务名称"/>
            <asp:BoundField DataField="TaskContent" HeaderText="任务内容"/>
            <asp:BoundField DataField="Remarks" HeaderText="备注"/>
            <asp:ButtonField HeaderText="详情" ButtonType="Link" Text="详情" CommandName="deail" />
            <asp:CommandField HeaderText="操作" ShowDeleteButton="true" ShowEditButton="true" ShowCancelButton="true" />
        </Columns>

    </asp:GridView>
</asp:Content>
